package com.codedancer.campus.client.api.user.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(description = "修改手机号Ro")
public class UpdatePhoneRo {

    @ApiModelProperty("新手机号")
    @NotEmpty(message = "请输入新手机号")
    private String newPhone;

    @ApiModelProperty("验证码")
    @NotNull(message = "请输入验证码")
    private String code;
}
